package il.ac.technion.wiki.api.search;

public class Hit implements Comparable<Hit> {
	private long score;
	public String docTitle;
	
	public Hit(long s, String d){
		score = s;
		docTitle = d;
	}
	public long getScore(){
		return score;
	}
	
	public String getTitle(){
		return docTitle;
	}
	
	@Override
	public int compareTo(Hit h){
		return this.docTitle.compareTo(h.docTitle);
	}
}
